﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplication3
{
    public partial class WebForm2 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string name ;
            string pass;
            if (Request.ServerVariables["Request_Method"] == "Get")
            {
                name = Request.QueryString["name"];
                pass = Request.QueryString["pass"];
            }
            else
            {
                name = Request.Form["account"];
                pass = Request.Form["password"];
            }
            Response.Write($"<h1>你好！！{name},你的密码:{pass}</h1>")
        }
    }
}